Modern System Administration by Jennifer Davis

Modern System Administration by Jennifer Davis

Author:Jennifer Davis [Jennifer Davis]
Language: eng
Format: epub, mobi
Publisher: O'Reilly Media, Inc.
Published: 2021-07-09T00:00:00+00:00


resource "azurerm_dns_mx_record" "example" { zone_name = "${azurerm_dns_zone.example.name}" resource_group_name = "${azurerm_resource_group.rg.name}" ttl = 3600 record { preference = 10 exchange = "in1-smtp.messagingengine.com" } record { preference = 20 exchange = "in2-smtp.messagingengine.com" } }

This example configures the * MX record to receive an email at all subdomain addresses.

resource "azurerm_dns_mx_record" "starexample" { name = "*" zone_name = "${azurerm_dns_zone.example.name}" resource_group_name = "${azurerm_resource_group.rg.name}" ttl = 3600 record { preference = 10 exchange = "in1-smtp.messagingengine.com" } record { preference = 20 exchange = "in2-smtp.messagingengine.com" } }

This example configures a TXT Sender Policy Framework (SPF) record to identify that the Fastmail mail servers are allowed to send email on behalf of your domain. The record block within the azurerm provider for the “azurerm_dns_txt_record” has one required parameter, value. Multiple records can be defined.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.